package com.maycur.ctrip.domain;

import org.apache.commons.lang3.StringUtils;

import java.util.Date;

public class ClientInfo {
    private Integer id;

    private String orderId;

    private String clientType;

    private String eId;

    private String uid;

    //仅用于火车票乘客,用于保存PassengerID
    private Integer clientId;

    private String clientName;

    private String clientNameEN;

    private String nationalityCode;

    private String nationalityName;

    private String identityType;

    private String identityNo;

    private String sex;

    private Date birthday;

    private String costCenter1;

    private String costCenter2;

    private String costCenter3;

    private String department1;

    private String department2;

    private String department3;

    private Date createdAt;

    private Date updatedAt;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = StringUtils.isEmpty(orderId)? null : orderId.trim();
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = StringUtils.isEmpty(clientType)? null : clientType.trim();
    }

    public String geteId() {
        return eId;
    }

    public void seteId(String eId) {
        this.eId = StringUtils.isEmpty(eId)? null : eId.trim();
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = StringUtils.isEmpty(uid)? null : uid.trim();
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = StringUtils.isEmpty(clientName)? null : clientName.trim();
    }

    public String getClientNameEN() {
        return clientNameEN;
    }

    public void setClientNameEN(String clientNameEN) {
        this.clientNameEN = StringUtils.isEmpty(clientNameEN)? null : clientNameEN.trim();
    }

    public String getNationalityCode() {
        return nationalityCode;
    }

    public void setNationalityCode(String nationalityCode) {
        this.nationalityCode = StringUtils.isEmpty(nationalityCode)? null : nationalityCode.trim();
    }

    public String getNationalityName() {
        return nationalityName;
    }

    public void setNationalityName(String nationalityName) {
        this.nationalityName = StringUtils.isEmpty(nationalityName)? null : nationalityName.trim();
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = StringUtils.isEmpty(identityType)? null : identityType.trim();
    }

    public String getIdentityNo() {
        return identityNo;
    }

    public void setIdentityNo(String identityNo) {
        this.identityNo =  StringUtils.isEmpty(identityNo)? null : identityNo.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = StringUtils.isEmpty(sex)? null : sex.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getCostCenter1() {
        return costCenter1;
    }

    public void setCostCenter1(String costCenter1) {
        this.costCenter1 = StringUtils.isEmpty(costCenter1)? null : costCenter1.trim();
    }

    public String getCostCenter2() {
        return costCenter2;
    }

    public void setCostCenter2(String costCenter2) {
        this.costCenter2 = StringUtils.isEmpty(costCenter2)? null : costCenter2.trim();
    }

    public String getCostCenter3() {
        return costCenter3;
    }

    public void setCostCenter3(String costCenter3) {
        this.costCenter3 = StringUtils.isEmpty(costCenter3)? null : costCenter3.trim();
    }

    public String getDepartment1() {
        return department1;
    }

    public void setDepartment1(String department1) {
        this.department1 = StringUtils.isEmpty(department1)? null : department1.trim();
    }

    public String getDepartment2() {
        return department2;
    }

    public void setDepartment2(String department2) {
        this.department2 = StringUtils.isEmpty(department2)? null : department2.trim();
    }

    public String getDepartment3() {
        return department3;
    }

    public void setDepartment3(String department3) {
        this.department3 = StringUtils.isEmpty(department3)? null : department3.trim();
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
